<template>
  <div class="newtab">
    <el-container>
      <el-aside width="10rem">
        <Catalogue />
      </el-aside>
      <el-main class="main"><Main /></el-main>
      <el-aside class="aside-right" width="10rem" />
    </el-container>
  </div>
</template>

<script setup lang="ts">
import Catalogue from "./components/Catalogue.vue";
import Main from "./components/Main.vue";
</script>

<style scoped lang="scss">
.newtab {
  width: 100vw;
  height: 100vh;
  background: url("@view/assets/background.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
  }
}
.el-container {
  height: 100%;

  .el-aside {
    display: flex;
    align-items: center;
  }
  .el-main {
    padding: 0;
  }
}
</style>
